package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品附件表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_prod_file")
public class ProdFile implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "file_id", type = IdType.AUTO)
    private Long fileId;

    /**
     * 商品id
     */
    @TableField(value = "pro_id")
    private Integer proId;

    /**
     * 轮播图片
     */
    @TableField(value = "carousel_images")
    private String carouselImages;

    /**
     * 商品视频
     */
    @TableField(value = "carousel_video")
    private String carouselVideo;

    /**
     * 定时上架标识;0立即上架1定时上架
     */
    @TableField(value = "up_flag")
    private Integer upFlag;

    /**
     * 定时上架时间
     */
    @TableField(value = "up_date")
    private Date upDate;

    /**
     * 定时下架标识;0立即下架1定时下架
     */
    @TableField(value = "down_flag")
    private Integer downFlag;

    /**
     * 定时下架时间
     */
    @TableField(value = "down_date")
    private Date downDate;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private Integer createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    private Date createDate;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private Integer updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_date")
    private Date updateDate;

    /**
     * 删除标识 0未删除 1已删除
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    /**
     * 删除时间
     */
    @TableField(value = "delete_date")
    private Date deleteDate;

    private static final long serialVersionUID = 1L;
}